package cn.zysuyuan.item.service;

import cn.zysuyuan.common.entity.PageResult;
import cn.zysuyuan.item.entity.Device;

import java.util.Map;

/**
 * @author flypig
 * @version 1.0
 * @date 2019/10/27 20:41
 */

public interface DeviceService {
    PageResult<Device> queryDevicesByPage(Map<String,Object> map);

    int insert(Device device);

    int update(Device device);

    int delete(String id);
}
